package mju.cxf.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="alipay")
public class AlipayConfig {
    /**
     * APP_ID:应用ID，收款账号是APP_ID对应的支付宝账号
     */
    public static String appId ;
    /**
     * APP_PRIVATE_KEY:开发者应用私钥，RSA2密钥
     */
    public static String appPrivateKey ;
    /**
     * 支付宝公钥
     */
    private String alipayPublicKey;


    private String notifyUrl;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppPrivateKey() {
        return appPrivateKey;
    }

    public void setAppPrivateKey(String appPrivateKey) {
        this.appPrivateKey = appPrivateKey;
    }

    public String getAlipayPublicKey() {
        return alipayPublicKey;
    }

    public void setAlipayPublicKey(String alipayPublicKey) {
        this.alipayPublicKey = alipayPublicKey;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }
}
